package com.example.demo.bridge_method.generic;

import java.util.ArrayList;

public class GenericMethod{


    public static  <T> T getFirst(T[] input){
        return input[0];
    }

    public static void main(String[] args) {


        Object first = GenericMethod.getFirst(new String[]{"1", "2"});
        System.out.println(first);
    }



}
